package com.woniu40.petai_manager.vo;

import com.woniu40.petai_manager.entity.Permission;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class RoleVo {
    private Integer roleId;

    private Integer roleCode;

    private String roleName;

    private Date insertTime;

    private Date updateTime;

    private List<Integer> perList;

    public RoleVo(Integer roleCode, String roleName, List<Integer> perList) {
        this.roleCode = roleCode;
        this.roleName = roleName;
        this.perList = perList;
    }

}
